package com.cloudbroker.bcs.platform.ltb.bizapi.service.business.upvote.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.ltb.bizapi.constants.type.UpvoteType;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.base.vo.HSBCPSVO;

public class ClickUpvoteForm extends HSBCPSVO {

	private static final long serialVersionUID = 2224893683670740384L;
	
	@NotBlank
    @IntegerString
	@Length(max = 20)
	protected String target_id;
	
	@NotBlank
	@EnumValue(enumClass = UpvoteType.class)
	protected String target_type;

    public String getTarget_id() {
        return target_id;
    }

    public void setTarget_id(String target_id) {
        this.target_id = target_id;
    }

    public String getTarget_type() {
        return target_type;
    }

    public void setTarget_type(String target_type) {
        this.target_type = target_type;
    }

}
